Thermodynamic model for the solubility of Ba(SeO4, SO4) precipitates