Glucose-responsive hydrogels as transducer/actuator in sensors