Phase variation-based biosensors for bacteriophage detection and phage receptor discrimination