Confining properties of two-color QCD at finite density