2D-3D transformation of palladium and gold nanoparticles on functionalized Mo2C by multiscale simulation