Transactive energy framework for optimal energy management of multi-carrier energy hubs under local electrical, thermal, and cooling market constraints