Understanding patterns of diversity in the pseudoautosomal region