what is the purpose of secondary education