Nanostructuring silicon and germanium for high capacity anodes in lithium ion batteries