Exploring chemistry through the source function for the electron and the electron spin densities