The Landau-Pomeranchuk-Migdal effect in QED