Reconstruction of diamond (001) surface: a Monte Carlo study with the Tersoff potential