Calculation of electronic and magnetic properties of transition-metal surfaces: Comparison of LMTO and tight-binding methods.