Technology, Labor Markets, and Health and Fertility