A branch-and-bound algorithm for the resource-constrained project duration problem subject to temporal constraints