US Republican presidential candidate Ted Cruz drops out of his party's race for the White House after losing the Indiana primary to front-runner Donald Trump.