Tidal deformation of Europa and Phobos: Implications on their structure and history