Thermal radiation and direct photon production in Pb–Pb and pp collisions with dielectrons | Synapse