Double-flange-type electromagnetic clutch-brake