The role of electronic healthcare record databases in paediatric drug safety surveillance: a retrospective cohort study