[(CH3)3NCH2CH2NH3]SnI4: a layered perovskite with quaternary/primary ammonium dications and short interlayer iodine-iodine contacts.