Optimization of Na-Ion Battery Systems Based on Polyanionic or Layered Positive Electrodes and Carbon Anodes