Dark Matter and the Tully-Fisher Relations of Spiral and S0 Galaxies