Thermoelectric effects in topological crystalline insulators