Formation and properties of n-alkylammonium complexes with layered tri- and tetra-titanates