Architecture of polymorphisms in the human genome reveals functionally important and positively selected variants in immune response and drug transporter genes