What is the working principle of water heater, iron box, and electric kettle ? In other words how is heat generated in these device ?