Optical spectroscopy of the massive X-ray binary SMC X-1/Sk 160⋆