Part of PhD thesis “Individualized pension contracts: risks, welfare losses and investment choices”