Thermal transport and thermoelectricity in organic and inorganic thin films