Optimizing technology R&D and adoption with adaptive adversaries : a Markov game approach with cyber and biosecurity applications