State the energy transformation when fast moving electrons are suddenly stopped by a target in an X-ray tube.