MEASUREMENT OF THE DIFFRACTIVE STRUCTURE-FUNCTION IN DEEP-INELASTIC SCATTERING AT HERA