What are the common protective functions in an inverter?