Characterizing near‐infrared spectroscopy signal under hypercapnia