What does the law of conservation of energy state?