Quantum sensing with single photons