Functional artificial luciferases as an optical readout for bioassays.