Sunoco to acquire refined products terminals from American Midstream Partners