Bottom-up approach to innovative memory devices: II. Molecular adsorption on electrodes and the asymmetric response