Coevolutionary algorithms for the optimization of strategies for red teaming applications