Both Labour and the Conservatives have blamed ULEZ for the former's loss in the Uxbridge by-election, in which the Conservatives maintained their seat.