energy transformation in a flashlight