Second law and cost analysis of the oxygen generation step of the General Atomic sulfur-iodine cycle