Soft-x-ray investigation of Mg and Al oxides: Evidence for atomic and bandlike features.