Explosion-proof motor