Uncertainty-Driven Dense Two-View Structure from Motion