Quark model of nucleons and three-body forces