3-D microbattery electrolyte by self-assembly of oligomers