Relationship between solid state NMR parameters and X-ray structural data in tricadmium phosphates