Thermoelectric power of titanate and ferrite with the cubic perovskite structure