Transfer matrix solutions to plane-strain and three-dimensional Biot’s consolidation of multi-layered soils