Colorimetric and electrochemical detection of pathogens in water using silver ions as a unique probe