Dark–dark and bright–dark solitons for a (2+1)-dimensional variable-coefficient nonlinear Schrödinger system in a graded-index waveguide