First-principle study on reactions of diamond (100) surfaces with hydrogen and methyl radicals