How does the first law of thermodynamics, $ΔU = Q - W$, describe energy transfer and transformation?