Germany to exit nuclear by 2022