Evolution of life-history traits and mating strategy in males: a case study on two populations of a Drosophila parasitoid