Exactly solved polymer models with conformational escape transitions of a coil-to-flower type