Academic success or failure in nursing students: results of a retrospective observational study