Development of flexible nickel-zinc and nickel-iron batteries