Calculation of centrifugal distortion constants for diatomic molecules from RKR potentials