Thermal analyses of alternating current light-emitting diodes