Encapsulation and controlled release of food ingredients