The wealthier you are, the healthier you are, health data shows