Michael Hayden, former head of the CIA and the National Security Agency, has said countries should develop international agreements over what grids are off-limits if attacked