EC bars Mamata from campaigning for 24 hours