Optical AND gate based on soliton interaction in a fiber Bragg grating.