Varied forms of lamellar [Sn3Se7]n(2n-) anion: the competitive and synergistic structure-directing effects of metal-amine complex and imidazolium cations.