Effective Hamiltonians For Constrained Quantum Systems