People in the U.S. and elsewhere have been paying tribute to Senator John McCain following his death.