When a lightbulb is attached to a battery by a wire, it lights up as a result of what form of energy provided by the battery?