South Sudan vows to hold elections before the end of the year