The NTC thermistor provides a near optimum solution for temperature-dependent regulation. It is low-cost, readily available through a variety of suppliers (Murata, Panasonic, etc.), and available in small surface-mount packaging from 0402 size through 1206 size. Furthermore, with only a basic understanding, the NTC thermistor is straightforward to apply to your circuit.