Russia has cut off gas to its neighbour Ukraine over a contract dispute but has increased supplies to customers in the rest of Europe.