South Sudan rivals agree to form coalition