Computational and spectroscopic study of boronate ester condensations and their derivatives