Diamond formation by thermal activation of graphite