Stamford waterfront compound with two houses and five cottages sells for $8.4M