Text this: Waves and fields in optoelectronics