Using effective operators in calculating the hyperfine structure of atoms