European markets close midweek in red