The Theory of Thermoelectromotive Force in Semiconductors