Tracking and Synthesizing Facial Motions with Dynamic Contours