Temperature responsive hydroxypropyl cellulose for encapsulation