A flashlight uses the chemical energy stored in a battery.This chemical energy is evenually converted into which two forms of energy