Disparity Refinement with Stability-based Tree for Stereo Matching