Spectral Control of Thermal Radiation at High Temperatures and in the Near Field