Why diode is mandatory in relay