Monitoring dehydration of the organic-inorganic [(C3H7)4N][SnCl5(H2O)]·2H2O compound using simultaneous thermal and Raman studies.