Hospitals turn to mobile devices to cut costs, study shows