Goal orientations, coping with school failure and school achievement