Temperature and density in heavy ion reactions at intermediate energies