IS attacks two energy plants in north Iraq