A rapid method for determining the magnesium/calcium ratios of well samples and its use as an aid in predicting structure and secondary porosity in calcareous formations