Study of glyceraldehyde-3-phosphate oxidoreductases from archaea and bacteria