Serum hormone levels affect sperm function