EC orders transfer of officers in states ahead of Assembly polls