Imide oligomers containing pendent and terminal phenylethynyl groups