Determining the degree of methylesterification of pectin by ATR/FT-IR: Methodology optimisation and comparison with theoretical calculations