A modification of the pulsed magnetic field-gradient spin echo method of studying diffusion