Condensate cosmology: Dark energy from dark matter