Thermoelectric properties of oxides and related materials