1. Hydrogen and CO2 storage in sandstone: understanding porous media behavior