Electron cooling of heavy ions