Bragg grating optical filters by UV nanoimprinting