Color-tunable luminescence nanofibers endowed with simultaneously tuned electricity–magnetism performance