New Zealand banning foreigners from buying homes