Optimization of diffusion-encoding gradient scheme for diffusion-weighted magnetic resonance imaging of nerve fibers