Ligand promoted and controlled palladium-catalyzed intramolecular Heck reaction of homoallyl alcohols: a facile synthesis of cyclopentaannulated quinolines