Gravar-mail: Single-photon sampling architecture for solid-state imaging sensors