Study of the kinetics and mechanism of the acid-base-catalyzed enolization of hydroxyacetaldehyde and methoxyacetaldehyde