Foster's Group's shareholders have backed a takeover of the brewer by SABMiller, clearing the path for the deal to close within 24 hours.