Flexible electrode for long-life rechargeable sodium