Preparation of MoS2 nanofibers by electrospinning