Germany is first major economy to phase out coal, nuclear