It pays to shop around for health care, study finds