New Polyamides and Polyoxazoles Based on Diphenyl Ether Segments in the Polymers' Backbone