How to use decision theory to choose among mechanisms