A block approach for single-machine scheduling with release dates and due dates