The thermal stability and molecular structural changes of a intermolecular hydrogen bonded liquid crystal compound