South Sudanese authorities imposed a countrywide dusk-to-dawn curfew after a night of violence during which shops were looted in the capital.