Empirical pseudopotential approach to the band structures of diamond and silicon carbide