Grain boundary effects on the thermoelectric power of semiconducting films