Photodiode circuit for latency measurements in neurophysiological experiments