Motion estimation for frame-rate conversion