Rapid FRET-based diagnosis of bacterial pathogens