Courtship and copula duration influence paternity success in a spider