Information theory and electron density