How can minerals be defined by their properties?