Computation of propagation in adiabatically tapered dielectric structures based on eigenfunction expansions: application to (active) optical devices