Impact of type 1 and type 2 diabetes on patterns and costs of drug prescribing: a population-based study.