A routing and scheduling approach to rail transportation of hazardous materials with demand due dates