Applicability of the empirical pseudopotential method to semiconductors with d valence electrons