Recent advances in flexible batteries: From materials to applications