Tests of general relativity using astrometric and radio metric observations of the planets