The contribution of applied mineralogy to sustainability in the mine life cycle