Separated trailing-edge flow at a transonic Mach number