An exergoecological analysis of the mineral economy in Spain. (August 2015)