A projected Newton algorithm based on chemically allowed interval for chemical equilibrium computations