Canadian home sales post biggest decline in nearly three years