Effect of electron correlation on the electrostatic potential distribution of molecules