Single crystal X-ray structure determination and temperature-dependent structural studies of the smectogenic compound 7OS5.