Strong convergence of a generalized viscosity implicit midpoint rule for nonexpansive mappings and equilibrium problems