A thermogravimetric study of the (CnH2n+1NH3)2MCl2Br2 compounds with 10 < n < 18 and M = Cd, Cu and Zn