Mechanisms underlying the sperm quality advantage in sperm competition and cryptic female choice in Drosophila melanogaster