Calculated transition-metal surface core-level binding-energy shifts