Distribution of single-particle strengths in the nuclei 207Tl, 207Pb, 209Bi and 209Pb