Multifunctional core–shell polymer–inorganic hybrid nanofibers prepared via block copolymer self-assembly