Structure of glycerol-Mg2+-smectites/vermiculites complex based on molecular dynamics and implementation of the model for X-ray diffraction modeling