Full multiple scattering analysis of XANES at the Cd L3 and O K edges in CdO films combined with a soft-x-ray emission investigation