Functional nanofibers: fabrication, functionalization, and potential applications