Hospitals pledge to reduce opioid prescriptions