Wrinkling, folding, and snapping instabilities in polymer films