U.S. crude oil and natural gas production increased in 2017, with fewer wells