Isotope shift studies in ultraviolet spectra of neutral and singley ionized neodymium gadolinium, dysprosium and ytterbium