Electrode materials for lithium secondary batteries prepared by sol-gel methods