Hyperfine interactions in the ground state and 22-keV state of Sm149 in ferrimagnetic compounds of samarium