Development of an educational package based on the cognitive components of critical thinking, problem-solving and metacognition and its effect on students' resilience