5-Hydroxypent-2-enenitriles as precursors toward dihydropyranones, dienenitriles and functionalized naphthalenes