Single-Trial Classification and Evaluation of Hemodynamic Responses during Passive and Active Exercises for Neurorehabilitation