Explaining Long-Term Trends in Health and Longevity