Least-cost optimization pathways to the German electricity