Iran, Iraq to release prisoners