Investigation of series resistance losses by illuminated lock-in thermography