Germany is turning to capital markets to help fix its creaking retirement system.