Determination of the cubic anharmonic potential constants from the vibration-rotation interaction constants of the OCS and N2O molecules