what are the two types of energy?