Two-agent flowshop scheduling to maximize the weighted number of just-in-time jobs