Dissipative collisions of heavy ions at energies close to the Coulomb barrier