Self-assembly of nanoparticles at solid–liquid interface for electrochemical capacitors