Surface core-level shift and electronic structure on transition-metal diboride (0001) surfaces