Dynamic creation and evolution of gradient nanostructure in single-crystal metallic microcubes