When did the American colonies declare their independence from the British government?