Hot-flask determination of chlorine