First-principles electronic structure of Si, Ge, GaP, GaAs, ZnS, and ZnSe. I. Self-consistent energy bands, charge densities, and effective masses