Single-atom switches: Toggled with electrical current