The US State Department has withdrawn its diplomatic staff from Ukraine following Russia's military attack on the country.