Method of invariant grid for model reduction of hydrogen combustion