Electrical apparatus for switching or protecting electrical circuits