Metal-containing nanofibers via coordination chemistry