The Conservatives made gains over Labour and the Liberal Democrats in two local authorities following by-elections across the country last week.