Thermal-induced phase transitions in self-assembled mesostructured films studied by small-angle X-ray scattering.