Western Refining to buy remaining shares of Northern Tier Energy