Structure-directing role of amines in the ionothermal synthesis.