Arms company admits paying agent to investigate campaigners