Pain assessment and analgesic prescription for cancer patients in a medical ward: the influence of an educational intervention.