Thousands flee severe flooding in New Zealand