Population and patient factors affecting emergency department attendance in London: retrospective cohort analysis of linked primary and secondary care records | Synapse