On the comparative evolution of Ganymede and Callisto