A computational study of the effect of doping divalent cations in barite