Mental health, use of digital devices, and academic success in higher education