Edinburgh Research Explorer Adaptation to human populations is revealed by within-host polymorphisms in HIV-1 and hepatitis C virus