Path-integral analysis of passive, graded-index waveguides applicable to integrated optics