Thermal control of a mechanically pumped two-phase loop