European stocks end midweek with gains amid rate cut hopes, Ukraine peace process