Local Hanle-effect studies of spin drift and diffusion in n : GaAs epilayers and spin-transport devices