Genes influence timings of sexual behavior