Mechanism of surface nanostructure changing wettability: A molecular dynamics simulation