Quenching nitrogen–vacancy center photoluminescence with an infrared pulsed laser