Unexpected thermal conversion of hydroxy-containing polyimides to polybenzoxazoles