NATO chief condemns cyberattack on Ukraine