On the coincidence of system optimum and user equilibrium for a widely used family of cost functions