Molecular dynamics simulation of a graphite-supported copper nanocluster: thermodynamic properties and gas adsorption