Spin coherence during optical excitation of a single nitrogen-vacancy center in diamond.