Chern–Simons matrix models, two-dimensional Yang–Mills theory and the Sutherland model