Solving the phase problem for carbohydrate-binding proteins using selenium derivatives of their ligands: a case study involving the bacterial F17-G adhesin.