Hybrid polymers processed by substrate conformal imprint lithography for the fabrication of planar Bragg gratings