South Sudan, rebels reach cease-fire after weeks of fighting