Nucleon-nucleon scattering and the Kadyshevsky equation