multiple-instance motif discovery with BAMBI: inference of recombinase and transcription factor binding sites.