Controlled Release of Functional Guest Molecules Using pH-Responsive Smart Microcompartments