Hydrocolloids for the encapsulation and delivery of active compounds