Interfaces of polymeric precursors with ceramics/metals