Extremal Betti numbers of graded ideals