New diagnostic technique for the study of turbulent boundary-layer separation