Instrumentation for high-resolution laser spectroscopy at the ALTO radioactive-beam facility