Using pupil size and heart rate to infer affective states during behavioral neurophysiology and neuropsychology experiments