Molecular collisions. IX - Restricted distorted-wave approximation for rotational excitation and scattering of diatomic molecules.