Molecular diagnostic methods in pneumonia