Self-consistent local-orbital method for calculating surface electronic structure: Application to Cu (100)