Socioeconomic inequality and changes in Soviet ideology