Teacher competence as a basis for teacher education