UK defence ministry targeted in cyberattack: govt