Synthesis of ultraviolet curable encapsulating adhesives and their package applications for organic optoelectronic devices