Sol–gel fabrication of lithium-ion microarray battery