Covalent versus localized nature of 4 f electrons in ceria: Resonant angle-resolved photoemission spectroscopy and density functional theory