US cybersecurity chief assesses midterms ‘integrity’