Energetics of formation of lamellar porous microstructures in ?-Al2O3