Nanoscale mesoporous SnO2 lithium battery anodes by hard templating synthesis