Electrochemical Behavior of Two-Dimensional Atomic Layers