Prescribing frequency and costs related to patients' age and sex.