Effects of magnetic and structural phase transitions on the normal and anomalous Hall effects in Ni-Mn-In-B Heusler alloys