Interaction of oxyfluorides of rare earth elements with fluorides having the fluorite structure