Influence of socioeconomic events on cause-specific mortality in urban Shanghai, China, from 1974 to 2015: a population-based longitudinal study