Male infertility and immune function