The impact of stress on students in secondary school and higher education