DNA programmable assembly of nanoparticles into three-dimensional superlattices and their optical properties