Er(OTf)3-promoted condensation reactions for 1,5-benzo diaze-, oxaze- and thiazepines