Spectral and Directional Control of Thermal Emission with Nanophotonics