Design, simulation and performance of a slow positron beam with secondary electron tagging for positron annihilation lifetime spectroscopy