Localization vs delocalization of 5f electrons in actinides: Dual nature and electron spectroscopies