ZnO-Cu2O core-shell nanowires as stable and fast response photodetectors