Danish pensions boss quits after criticism of past tax schemes