Weather emergency declared in northwestern New Zealand