Authorities in the Bahamas have closed a majority of schools as Tropical Storm Imelda drops heavy rain and unleashes flooding in the northern Caribbean, with two people killed in Cuba.