What kind of energy change takes place when a magnet is moved towards a coil having a galvanometer between its ends ?