Nanometer size effects in nucleation, growth and characterization of templated CdS nanocrystal assemblies.