Molecular basis of organ-specific selection of viral variants during chronic infection