Characterization and stability of doped SnO2 anodes