Generic drug prescribing in primary care: a nationwide analysis