Hundreds of homes have been evacuated in the New Zealand city of Christchurch as a huge wildfire rages on its outskirts.