Advective and diffusive cosmic ray transport in galactic haloes