All-inorganic perovskite CsPbX3 electrospun nanofibers with color-tunable photoluminescence and high performance optoelectronic applications