Strangeness exchange reactions and hypernuclear spectroscopy