Smart molecular design for functional cellulose gels and flexible devices | Synapse