two main types of energy are