Nucleon-nucleon scattering analyses. II. Neutron-proton scattering from 0 to 425 MeV and proton-proton scattering from 1 to 500 MeV