The UK economy will contract in the third quarter if July’s performance continues, according to a closely watched survey.