Spatial differentiation of optical beams using phase-shifted Bragg grating.