Poromechanical modelling of shrinkage and damage processes in unsaturated porous media