How Sanskrit played a role in the discovery of Mendeleev's periodic table