Health Shocks, Labor Market Activities, and End-of-Life Medical Expenses