Clock synchronization with pulsed single photon sources