An arsenate reductase in the phosphate binding state