Finite-Element Formulation in Terms of the Electric-Field Vector for Electromagnetic Waveguide Problems