North Carolina electric grid shooter 'knew exactly what they were doing,' sheriff says