The nuclear dimension of graph C*-algebras