4D printing of stimuli-responsive materials