Facile approach towards the fabrication of compact and miniature Er3+-doped waveguide amplifiers