The distribution of mass in spiral galaxies