North Carolina electric grid gunman knew how to disable stations: sheriff