Calculation of surface energy and simulation of reconstruction for diamond cubic crystals (001) surface