Phase transition sequences in tetramethylammonium tetrachlorometallates by X-ray diffraction and spectroscopic measurements.