Coupled evolution of land cover and extensive livestock in the Spanish Pyrenees