Addressing endogeneity in the relationship between health and employment through a simultaneous equations model Tesis