On Debye-Waller factors and melting criteria of II-VI and III-V compound semiconductors