South Sudanese warring parties agree to share power