Determination of chemical water in rock analysis by Karl Fischer titration