Tuning Crystallographic and Magnetic Symmetry in Lithium Transition Metal Phosphates and Thiophosphates