Size-dependent spectroscopic properties and thermochromic behavior in poly(substituted thiophene) nanoparticles.