Effective potential of the Polyakov loop in the Hamiltonian approach to QCD