Characterization of Ca- and Al-pectate gels by thermal analysis and FT-IR spectroscopy