Cross-phase modulation effects in nonlinear fiber Bragg gratings