Theoretical study of relaxation and reconstruction of the (111) surface of diamond