Homes, businesses and roads were impacted by water across Flintshire and Wrexham