A dichotomy in the Friedel-Crafts reactions of lactones provides a convenient new route to 2-acylated pyrroles and tetrahydroindolones