State hackers 'probably compromised' energy sector, says leaked GCHQ memo