Influence of the nuclear charge distribution and electron correlation effects on magnetic shieldings and spin-rotation tensors of linear molecules