Sol–gel-derived glass-ceramic photorefractive films for photonic structures