Structural change and income distribution: An inverted-U relationship