European stock markets end midweek mostly lower