Impact of surface and laser-induced noise on the spectral stability of implanted nitrogen-vacancy centers in diamond