Social Security and Inequality over the Life Cycle