Power supply protection against plasma disruption and fault conditions in the RFX experiment