Scheduling manufacturing tasks considering due dates: a new method based on behaviours and agendas