Calculations for ledge energies on the diamond (111) surface