Resonant photo- and Auger emission at the 3p threshold of Cu, Cu 2 O, and CuO