Rapid detection of infectious agents