US existing-home sales surge in June, prices hit record