Electrolytic Demagnesiation Of Magnesium Alloys Towards Nanoporous Aluminum And Intermediate Ternary Compounds For Hydrogen Generation And Beyond