Compounds containing rare earth metals and at least one element other than a rare earth metal, oxygen or hydrogen, e.g. La4S3Br6 halogen being the only anion, e.g. NaYF4