Control of nanoparticle film structure for colloidal lithography