Secondary motion and diffusion in unsteady flow in a curved pipe