Attitudes of teacher education students and class teachers to distance education