Efficient catalytic cyclizations of three and two imine assemblies: direct access to tetrahydroimidazo[1,5-c]imidazol-7-ones and imidazoles.