Curves and Jacobians over function fields