How does the magnetic effect of electric current help in the working of an electric bell? explain with the help of a diagram.