Thermal and Structural Behavior of Dioctadecyldimethylammonium Bromide Dispersions Studied by Differential Scanning Calorimetry and X-Ray Scattering