System and method for unsupervised stereoscopic reconstruction with disparity consistency