Molecular Orientation Changes in Thin Solid Films of Long-Chain Compounds Induced by Thermal Treatment