SEPTA, union reach tentative deal on two-year contract, avoiding strike