Exact dispersion equation of a graded refractive-index optical waveguide based on the equivalent attenuated vector