Inside-Out Bulge Formation and the Origin of the Hubble Sequence