Gas prices fall, US wholesale inflation cools in July