A generalized strategy for synthesizing crystalline bismuth-containing nanomaterials.