Tin oxide electrodes in Li and Na-ion batteries