Spin currents in metallic nanostructures: Explicit calculations