Divergent sequential reactions of beta-(2-aminophenyl)-alpha,beta-ynones with nitrogen nucleophiles