Comparative evolution of Jupiter and Saturn