Stimuli responsive self-folding using thin polymer films