Viral evolution under the pressure of an adaptive immune system: Optimal mutation rates for viral escape