Mechanics and Thermodynamics in the Cell