Electricity supply was cut in parts of Tehran, the capital of Iran, and nearby Alborz province after attacks on facilities in the area.