Positive and negative electrode materials of batteries