Chinese company to buy Texas oil fields in $1.3 billion deal