Substrate-dependent differences in the crystal structures and optical properties of ZnSe nanowires