What were the criteria used by Mendeleev in creating his periodic table?