X-ray photoelectron diffraction study of thin Cu films grown on clean Ru(0001) and O-precovered Ru(0001)