Foundations of plasma photonics: lamps, lasers, and electromagnetic devices