A model describing the kinetics of mating in Drosophila