Evaluation of potential factors affecting the measurement of cerebrovascular reactivity by near-infrared spectroscopy