Thermodynamic properties calculation of perrhenates and their application in the simulation of sample pretreatment for the chemical analysis