The dialectic relationship between theory and practicein mathematics teacher education