Online Fair Allocation of Perishable Resources