Motion Segmentation and Egomotion Estimation with Event-Based Cameras