Development of a microwave-assisted epoxide aminolysis and investigation of the aza-cope rearrangement--mannich cyclization for alkaloid synthesis