Towards accurate prescribing analysis in general practice: accounting for the effects of practice demography