Integrable Systems and Algebraic Geometry