Finite-element solution of the semiconductor transport equations