Name the principle on which a transformer works. Can a transformer work when connected to a D.C. source?