Estimation of cavitation erosion resistance of materials