On the Formation of Crystalline and Non-Crystalline Solid States and Their Thermal Transport Properties: A Topological Perspective via a Quaternion Orientational Order Parameter