Centrality metrics and localization in core-periphery networks