Mechanically adjustable chemostats based on stimuli-responsive polymers