The optimal treatment of an infectious disease with two strains