Mach-Zehnder Method for Optical Damage Characterization of Planar Waveguides