A thermochemical study of vaterite