Clustering teachers' motivations for teaching