Portugal and Spain: catching up and falling behind. A comparative analysis of productivity trends and their causes, 1980-2007