During the late 18th and early 19th centuries the British Crown began to assume an increasingly large role in the affairs of the Company. When did Britain pass the Regulating Act?