The third-order elastic constants of potassium chloride, sodium chloride and lithium fluoride