How do the densities of the jovian and terrestrial planets compare?