Virtual Reality for Management of Pain in Hospitalized Patients: Results of a Controlled Trial