AMENDED AND RESTATED CREDIT AGREEMENT BETWEEN FLOTEK INDUSTRIES, INC. AND WELLS FARGO BANK, NATIONAL ASSOCIATION Dated as of August 31, 2007