CDU and Greens agree to coalition agreement