A residual-gas ionization beam profile monitor for the Heidelberg Test Storage Ring TSR