Dysprosium III lines in the spectra of peculiar A and B stars