Chemical and biochemical thermodynamics: from ATP hydrolysis to a general reassessment