Structural transformation of macroporous silicon anodes as a result of cyclic lithiation processes