Chevron to buy Texas refinery from Brazil's Petrobras