Reactions of ultracold alkali-metal dimers