Germany's left-leaning parties have set terms for forming a potential coalition that could replace conservative Chancellor Angela Merkel.