Liposome-based sensor for the detection of bacteria