working of Full wave rectifier explained