Etching in Optical Waveguide Devices