Pending-home sales hit 2-1/2 year high