Molecular dynamics simulations of spontaneous spreading of a nanodroplet on solid surfaces