Detection of ventilatory threshold using near infrared spectroscopy in men and women.