Temperature-dependent band gaps in several semiconductors: from the role of electron–phonon renormalization