Understanding cancer phenomena using a thermodynamic-based approach