On the relation of four-dimensional N = 2, 4 supersymmetric string backgrounds to integrable models