Controllability results for a class of one-dimensional degenerate parabolic problems in nondivergence form