Mechanism-based design of a photoactivatable firefly luciferase