Structural and thermodynamic properties of molecular complexes of aluminum and gallium trihalides with bifunctional donor pyrazine: decisive role of Lewis acidity in 1D polymer formation.