A Framework for Analyzing and Managing Retirement Risks