Thermoelectric photosensor based on ultrathin single-crystalline Si films