Recent advances in stimuli-responsive polymers for sensing and actuation