Measuring the spin of spiral galaxies