Condensation in homogeneous porous slabs in unsteady conditions