Evolution of poroelastic properties and permeability in damaged sandstone