The structural phase transition in a hybrid layered perovskite: [C 7 H 16 N] 2 [SnI 4 ]