What is the main form of energy inside the earth?