Natural selection and resistance to HIV