Dynamically correlated regions and configurational entropy in supercooled liquids