Collinear laser spectroscopy on fast atomic beams