Improving trainees’ performances while under stress using real-time feedback