Mental health analysis of intermediate students in relation to their hardiness and academic achievement