Glass-based confined structures fabricated by sol-gel and radio frequency sputtering