Electron correlation effects in hyperfine interactions in 45Sc and 89Y