Universal constraint for efficiency and power of a heat engine