Photoinduced diffraction in polymer waveguides.