The spin-dependent structure function g1(x) of the deuteron from polarized deep-inelastic muon scattering