Britain and Malaya, 1786-1941