The impact of changes in different aspects of social capital and material conditions on self-rated health over time: a longitudinal cohort study