Exact finite-range DWBA treatment of heavy-ion-induced reactions to unbound residual states