Photoinduced [1,5]-hydride shift triggered cyclization