The financial costs of anticipatory prescribing: a retrospective observational study of prescribed, administered and wasted medications using community clinical records