Reconstruction of scalar potentials in two-field cosmological models