Data-Driven Allocation of Vaccines for Controlling Epidemic Outbreaks