Nuclear-shape effects in the inelastic scattering of polarized deuterons at 56 MeV