Properties of proton exchanged optical waveguiding layers in LiNbO3 and LiTaO3