Upcycling of Pharmaceutical Glass into Highly Porous Ceramics: From Foams to Membranes