Miniaturized soft batteries for biomedical implants