Novel ‘‘serially grafted’’ connection between functional and passive polymer waveguides