The Formation of Disk Galaxies