Thermodynamics of ABC transporters