Polymorphism in nanoparticle-based crystals depending upon their single or polycrystalline character