Analysis of errors enacted by surgical trainees during skills training courses