Post-flare Ultraviolet Light Curves Explained with Thermal Instability of Loop Plasma