Electrochemical and optical biosensors for biological sensing applications