Estimation of crack porosity in deep carbonate reservoirs based on attenuation rock physics templates