Demonstration of the tunnel-diode effect on an atomic scale