Mechanism of Corrugated Graphene Moiré Superstructures on Transition-Metal Surfaces.