Evolution and comparative ecology of parthenogenesis in haplodiploid arthropods