Canada places two-year ban on home purchases by foreigners