What similarities do nuclear energy and chemical energy share?