Photo-Electro-Thermal Theory for Led Systems: Basic Theory and Applications