An analysis of the relationship between health and the labour market in South Africa