Doppler-free two-photon laser spectroscopy of barium I: Hyperfine splitting and isotope shift of high lying levels