Synthesis of aminoalkyl-substituted imidazo[1,2-a]- and imidazo[1,5-a]benzodiazepines