Similarity of internal stability criteria for granular soils