The US has given Ukraine permission to use its long-range weapons to strike deep into Russia.