A United Nations Security Council resolution aimed at reopening the Strait of Hormuz has been vetoed by Russia and China.