In situ measurement of stress in Co/Cu, Co/Pd, and Co/Au compositionally modulated multilayer films