Comparison of Total Solar Irradiance with NASA/National Solar Observatory Spectromagnetograph Data in Solar Cycles 22 and 23