Thousands flee Nigeria town as Boko Haram capture more territory