Femtosecond laser micro-fabrication for tailoring photonic crystals in resins and silica