One-dimensional growth of MoOx-based organic–inorganic hybrid nanowires with tunable photochromic properties