Normalizable Wave Functions for Bound States and Resonances in S -Matrix Theory