Resting lateralized activity predicts the cortical response and appraisal of emotions: an fNIRS study