Influence of acid–base properties of Mg-based catalysts on transesterification: role of magnesium silicate hydrate formation