Thermodynamic universality of quantum Carnot engines