Lambertian light trapping in textured solar cells and light‐emitting diodes: analytical solutions | Synapse