Quantum transport of holes in 1D, 2D, and 3D devices: the k⋅p method