Different strategies for the detection of bioagents using electrochemical and photoelectrochemical genosensors