Histidine protonation states are key in the LigI catalytic reaction mechanism