Ukraine halts flow of Russian natural gas as prewar deal expires