Study of isomeric states in 198,200,202,206Pb and 206Hg populated in fragmentation reactions