Submillimeter observations of planets