Effective potential for SU(2) Polyakov loops and Wilson loop eigenvalues