Tropical Storm Grace weakens, remnants of Fred bringing rain to South Florida