Two- and Three-Dimensional Hamiltonians with Shape Invariance Symmetry