From molecules to systems: sol-gel microencapsulation in silica-based materials.