Ukraine and Russia have been engaged in grueling fighting for months over control of the eastern Ukrainian city of Bakhmut.