Estimation of the stimulus-evoked hemodynamic response from fNIRS measurements