Mortality patterns and the effect of socioeconomic factors on mortality in rural Tamil Nadu, south India: a community-based cohort study