Thermodynamics and Magnetism of SmFe12 Compound Doped with Co and Ni: An Ab Initio Study