South Africa has declared an energy crisis as the power grid is failing across the country