what is a atomic theory (elements combine in certain propotions to form compounds​