UK Defense Ministry paid hackers to find flaws in computer systems