Thermal conductivity of composites with nanoscale inclusions and size-dependent percolation