From Pixels to Layers: Joint Motion Estimation and Segmentation