Illuminating the mechanism and allosteric behavior of NanoLuc luciferase