Flash floods swept across the Northeast, bringing more than a foot of rain in parts of Connecticut, and coastal flooding wreaked havoc on communities along the eastern seaboard.