Optical biosensors for the diagnosis of bacterial infections and antimicrobial therapy monitoring