hardness of minerals and rock type