Limits to the expansion of Earth, Moon, Mars and Mercury and to changes in the gravitational constant