Structure and performance of dielectric films based on self-assembled nanocrystals with a high dielectric constant