compare and contrast between motor and generator give 3 examples for each ​