Index-and-dimensional taper and its application to photonic devices