Evolutionary dynamics of complex networks of HIV drug-resistant strains: the case of San Francisco