Photon shot noise limits on optical detection of neuronal spikes and estimation of spike timing