Analyzing psychophysical and electrophysiological data using mixed-effect models