Electron correlation and the nature of the sextuple bond in the dimolybdenum molecule