Generating signals of drug-adverse effects from prescription databases and application to the risk of arrhythmia associated with antibacterials