The polarization and intensity of thermal radiation from a planetary surface