Rangers take two of three from Astros