The genomic architecture of antimalarial drug resistance