Theoretical study of the mechanism of the manganese catalase KatB