An analysis of Spain's global and environmental efficiency from a European Union perspective