The N-cyclopropylimine-1-pyrroline photorearrangement as a synthetic tool: scope and limitations.