Electron correlation in chemical bonds