What is the difference between the chemical and physical layers of the earth?