PBF Energy to buy ExxonMobil Torrance refinery for $538 million