How divorce or the death of a spouse affects a woman’s 401(k), Social Security and other sources of retirement income.