Molecular dynamics simulations of ion self-sputtering of Ni and Al surfaces