Novel finite-element formulation without any spurious solutions for dielectric waveguides