Block pivot methods for solving the complementarity problem