Lithuania and Latvia move to stop migrants crossing their borders from Belarus.