Waveguide optical device and method of fabricating the same