Integral points on 2-dimensional quadrics over curves