The application of functional near-infrared spectroscopy (fNIRS) in the process of rehabilitation practice