Profiles of teachers’ general pedagogical knowledge: nature, causes and effects on beliefs and instructional quality