West Ham through to Europa League knockout stages, but Leicester frustrated