Sol-gel-derived photonic structures: fabrication, assessment, and application