What are the external factors that played a role in the shaping of race relations throughout the Caribbean?