Carbon anode thin films for lithium batteries