Phase Transitions in Ammonium Hexafluorometallates(III)