Algebraic Bethe ansatz approach for the one-dimensional Hubbard model