Canada bans foreigners from buying property