Application of inkjet printing technology to flexible batteries