How can you use Faraday's law and Lenz's law to explain the phenomenon of electromagnetic induction and its applications, such as generators and transformers?