Effect of Nonstoichiometry on the Half-Metallic Character of Co$$_{}$$MnSi and Its Application to the Spin Sources of Spintronic Devices