Planar Thermoelectric Microgenerators Based on Silicon Nanowires