Interplanetary gas. XXVI. On the reconnection of magnetic fields in cometary ionospheres at interplanetary sector boundary crossings