Quark confinement potential and the quark-diquark model for nucleons