BP in talks to sell Texas refinery to Marathon