Real-time monitoring of bacteria at water treatment works and in downstream networks