Ab initio calculation of the ground-state properties of CoSi2