Finite-element formulation for full-vectorial propagation analysis in three-dimensional optical waveguides