Serious bacterial infections and antibiotic prescribing in primary care: cohort study using electronic health records in the UK