Isomerisation versus carbonylative pathways in the hydroxy-carbonylation, methoxy-carbonylation, and amino-carbonylation of N-tosyl-3-pyrroline