A classification of the second order degenerate elliptic operators and its probabilistic characterization