Coherent transport of electron spin in a ferromagnetically contacted carbon nanotube