Cubans are mourning the death of Fidel Castro, who ruled for half a century and resisted the United States throughout the Cold War.