Optical Losses Characterization of channel waveguides through a photodeflection method