Size and shape dependent lattice parameters of metallic nanoparticles