Molar ratios in the study of unaltered and hydrothermally altered greywackes and shales