What four processes allow for the change of thermodynamics properties according to the first law