Effects of varicocele on testicular function and its pathogenesis