Sperm function and the diagnosis of male infertility